package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.VipMemberLogDao;
import io.wdb.modules.generator.generator.entity.VipMemberLogEntity;
import io.wdb.modules.generator.generator.service.VipMemberLogService;



@Service("vipMemberLogService")
public class VipMemberLogServiceImpl implements VipMemberLogService {
	@Autowired
	private VipMemberLogDao vipMemberLogDao;
	
	@Override
	public VipMemberLogEntity queryObject(Long id){
		return vipMemberLogDao.queryObject(id);
	}
	
	@Override
	public List<VipMemberLogEntity> queryList(Map<String, Object> map){
		return vipMemberLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return vipMemberLogDao.queryTotal(map);
	}
	
	@Override
	public void save(VipMemberLogEntity vipMemberLog){
		vipMemberLogDao.save(vipMemberLog);
	}
	
	@Override
	public void update(VipMemberLogEntity vipMemberLog){
		vipMemberLogDao.update(vipMemberLog);
	}
	
	@Override
	public void delete(Long id){
		vipMemberLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		vipMemberLogDao.deleteBatch(ids);
	}
	
}
